<template>
  <div class="side-menu">
    <el-menu
      default-active="2"
      class="el-menu-vertical-demo"
      background-color="#35495e"
      text-color="#fff"
      active-text-color="#04C293"
      router
    >
      <el-menu-item index="dashboard">
        <i class="el-icon-menu iconfont icon-zhuye"></i>
        <span slot="title">主页</span>
      </el-menu-item>
      <el-submenu index="shoplist">
        <template slot="title">
          <i class="el-icon-menu iconfont icon-shangdian"></i>
          <span>门店管理</span>
        </template>
        <el-menu-item-group>
          <el-menu-item index="shoplist">门店列表</el-menu-item>
          <!-- <el-menu-item index="shopmap">门店地图</el-menu-item> -->
        </el-menu-item-group>
      </el-submenu>
      <el-menu-item index="salesdata">
        <i class="el-icon-menu iconfont icon-shujutongji"></i>
        <span slot="title">数据统计</span>
      </el-menu-item>
      <el-submenu index="beer">
        <template slot="title">
          <i class="el-icon-menu iconfont icon-beer"></i>
          <span>啤酒管理</span>
        </template>
        <el-menu-item-group>
          <el-menu-item index="beerlist">啤酒列表</el-menu-item>
          <!-- <el-menu-item index="beercatagory">啤酒管理</el-menu-item> -->
        </el-menu-item-group>
      </el-submenu>
      <!-- <el-menu-item index="beerlist">
        <i class="el-icon-menu iconfont icon-beer"></i>
        <span slot="title">啤酒种类</span>
      </el-menu-item> -->
      <el-menu-item index="equipment">
        <i class="el-icon-menu iconfont icon-shebei"></i>
        <span slot="title">设备管理</span>
      </el-menu-item>
      <el-menu-item index="userlist">
        <i class="el-icon-menu iconfont icon-yonghu1"></i>
        <span slot="title">用户管理</span>
      </el-menu-item>
      <el-menu-item index="profile">
        <i class="el-icon-menu iconfont icon-yonghudianji"></i>
        <span slot="title">个人中心</span>
      </el-menu-item>
    </el-menu>
  </div>
</template>

<script>
export default {
  name: 'SideMenu'
}
</script>

<style lang="less" scoped>
.el-menu{
  border-right: none;
}
</style>
